package com.kong.constant;

/**
 * @author yang2013
 * @data 2020/10/20 14:33
 */
public enum AgeEnum {
    MINOR_LOWER(0,"0-18岁"),
    MINOR_HIGH(17,"0-18岁"),
    YOUNG_LOWER(18,"18-30岁"),
    YOUNG_HIGH(29,"18-30岁"),
    MIDDLE_AGE_LOW(30,"30-45岁"),
    MIDDLE_AGE_HIGH(44,"30-45岁"),
    OLD_AGE(45,"45岁以上"),
    UN_KNOWN(-1,"未知")
    ;

    private Integer age;
    private String name;

    public Integer getAge() {
        return age;
    }

    public String getName() {
        return name;
    }

    AgeEnum(Integer age, String name) {
        this.age = age;
        this.name = name;
    }
}
